package com.wendy.admin.errorcode;

import com.wendy.common.core.constant.HttpStatus;
import com.wendy.common.core.errcode.base.BaseError;

public class ProFileError extends BaseError {


    public static ProFileError EDIT_USER_PHONE_ERROR = new ProFileError("修改用户%s失败，手机号码已存在", HttpStatus.NOT_FOUND);
    public static ProFileError EDIT_USER_EMAIL_ERROR = new ProFileError("修改用户%s失败，邮箱账号已存在", HttpStatus.NOT_FOUND);
    public static ProFileError EDIT_USER_INFO_ERROR = new ProFileError("修改个人信息异常，请联系管理员", HttpStatus.NOT_FOUND);
    public static ProFileError EDIT_PASSWORD_OLD_ERROR = new ProFileError("修改密码失败，旧密码错误", HttpStatus.NOT_FOUND);
    public static ProFileError EDIT_PASSWORD_EQUAL_ERROR = new ProFileError("新密码不能与旧密码相同", HttpStatus.NOT_FOUND);
    public static ProFileError EDIT_PASSWORD_ERROR = new ProFileError("修改密码异常，请联系管理员", HttpStatus.NOT_FOUND);
    public static ProFileError FILE_FORMAT_ERROR = new ProFileError("文件格式不正确，请上传%s格式", HttpStatus.NOT_FOUND);
    public static ProFileError FILE_SERVER_ERROR = new ProFileError("文件服务异常，请联系管理员", HttpStatus.NOT_FOUND);
    public static ProFileError FILE_UPLOAD_ERROR = new ProFileError("上传图片异常，请联系管理员", HttpStatus.NOT_FOUND);
    public ProFileError() {
        super();
    }
    public ProFileError(String msg, Integer code) {
        super(msg, code);
    }
}
